package com.wkt.ggkt.vod;

import com.wkt.ggkt.swagger.Swagger2Config;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author wangkt
 * @Describe
 * @date 2022/6/30 21:06
 */
@SpringBootApplication
@ComponentScan("com.wkt.ggkt")
@EnableDiscoveryClient
public class ServiceVodApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(ServiceVodApplication.class, args);

        Swagger2Config bean = context.getBean(Swagger2Config.class);

//        System.out.println(bean);
    }
}
